
import axios from './axios';
import {toast,messagebox} from 'mint-ui';
import qs from 'Qs';
/**
 * 拼团模块接口请求
 * */
let BASE_URL = process.env.API_HOST;
// 拼团列表
export const spellingIndex = (data) => {
    return axios.get(BASE_URL+'/spelling/index',{params:data});
}
// 拼团详情
export const spellingDetail = (data) => {
    return axios.get(BASE_URL+'/spelling/detail',{params:data});
}
// 拼团支付
export const pintuanPay = (data) => {
    return axios.post(BASE_URL+'/Wxpay/pintuan_pay',qs.stringify(data));
}
// 拼团分享详情
export const spellingShareDetail = (data) => {
    return axios.post(BASE_URL+'/Spelling/spelling_detail',qs.stringify(data));
}